package com.cema.manage.project.manage.userFeedback.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
    import java.util.Date;

/**
 * 问题反馈表 biz_user_feedback
 *
 * @author reasahi
 * @date 2024-07-11
 */
@TableName(value = "biz_user_feedback")
public class UserFeedback extends Model<UserFeedback>
{
private static final long serialVersionUID=1L;

/** 主键ID */
    @TableId(value = "id")
    private Integer id;
/** 用户ID */
    @TableField(value = "us_id")
    private Integer usId;
/** 内容 */
    @TableField(value = "uf_content")
    private String ufContent;
/** 创建时间 */
    @TableField(value = "create_time")
    private Date createTime;

/**
 * 设置：主键ID
 */
public void setId(Integer id)
        {
            this.id = id;
        }

/**
 * 获取：主键ID
 */
public Integer getId()
        {
        return id;
        }
/**
 * 设置：用户ID
 */
public void setUsId(Integer usId)
        {
            this.usId = usId;
        }

/**
 * 获取：用户ID
 */
public Integer getUsId()
        {
        return usId;
        }
/**
 * 设置：内容
 */
public void setUfContent(String ufContent)
        {
            if(ufContent!=null){
            if(ufContent.trim().isEmpty()){
            this.ufContent =null;
            }else{
            this.ufContent = ufContent;
            }
            }
        }

/**
 * 获取：内容
 */
public String getUfContent()
        {
        return ufContent;
        }
/**
 * 设置：创建时间
 */
public void setCreateTime(Date createTime)
        {
            this.createTime = createTime;
        }

/**
 * 获取：创建时间
 */
public Date getCreateTime()
        {
        return createTime;
        }

@Override
protected Serializable pkVal(){
        return this.id;
        }
        }

